/*
package com.jay.base.lambda;

import java.util.HashSet;
import java.util.Set;
import java.util.TreeSet;

*/
/**
 * Created by caoyuan7 on 2019/1/11.
 *//*

public class Lambda {
    public void threadTest(){
        new Thread(new Runnable() {
            @Override
            public void run() {
                System.out.println("hello world");
            }
        });
    }
    public void threadTest2(){
        new Thread(()-> System.out.println("hello world"));
    }
    public static void main(String args[]){

//        Set<String> set = new HashSet<>();
//        set.add(null);
//        set.add(null);
//        set.add("11111");
//        set.add("11111");
//
//        for(String t : set){
//            System.out.println(t);
//        }
        String token = "6a0be406-8b2e-4be7-aa49-6e5ced8c6496";
        String random = "12";
        String username = "gaosu1";
        String str =token+username+random;
        String code = MD5Utils.MD5Encode(str,"utf8");
        System.out.println(code);
    }
}
*/
